﻿/*  This is mada by Kent    
 *  This source is made by Funms Team
 *  @Author Kent 
 */

﻿var a = 0;
var selects;
var head = "#fUI/UIWindow2.img/Quest/quest_info/summary_icon/summary#\r\n";
var BossList = Array(
        Array("#fMap/MapHelper.img/mark/Papulatus#[普通] 闹钟！", 220080000),
        //Array("[普通] 暴力熊/心疤狮王！", 551030100),
        Array("#fMap/MapHelper.img/mark/Zakum#[普通/进阶] 扎昆！", 211042300),
        Array("#fMap/MapHelper.img/mark/Wedding#[普通] 艾菲尼娅", 300030300),
        Array("#fMap/MapHelper.img/mark/Hontale#[普通/进阶] 暗黑龙王", 240040700),
        Array("#fMap/MapHelper.img/mark/PinkBean#[普通/混沌] 时间宠儿", 270050000),
        Array("#fMap/MapHelper.img/mark/Akairum#[简单/普通] 阿卡伊勒", 272030300),
        Array("#fMap/MapHelper.img/mark/Hilla#[普通/困难] 阿斯旺希拉", 262010000),
        Array("#fMap/MapHelper.img/mark/CrossHunter##d[普通/强化] 强化钻机", 703020000),
        //Array("#fMap/MapHelper.img/mark/Bellum##d[普通/进阶] 鲁塔比斯", 105200000),
        //Array("[强化BOSS] 三头犬 - 血量非常多。", 510101100),
        //Array("[世界BOSS] 新加坡 - 千年树精王遗迹Ⅱ", 541020700),
        Array("#fMap/MapHelper.img/mark/BattleSquare#[简单/普通] 狮子王班·雷昂", 211070000),
        Array("#fMap/MapHelper.img/mark/Signus##r[骑士团] 女皇希纳斯", 271030600),
        Array("#fMap/MapHelper.img/mark/Balog##r[噩梦牢笼] 巨大蝙蝠怪", 105100100),
		Array("#fMap/MapHelper.img/mark/BattleSquare##r[噩梦牢笼] 乌鲁斯", 970072200),
        Array("#fMap/MapHelper.img/mark/BattleSquare##r[噩梦牢笼] 贝勒德入口", 863000100),
        Array("#fMap/MapHelper.img/mark/BattleSquare##r[噩梦牢笼] 森兰丸(New~)", 807300100),
        Array("#fMap/MapHelper.img/mark/BattleSquare##r[噩梦牢笼] 比睿山 - 浓姬(New~)", 811000099),
        Array("#fMap/MapHelper.img/mark/BattleSquare##r[噩梦牢笼] 鲁塔比斯 - 四大天王(New~)", 105200000),
		Array("#fMap/MapHelper.img/mark/BattleSquare##r[噩梦牢笼] 金银岛 - 恐怖的鸦天狗(New~)", 104020110),
        Array("#fMap/MapHelper.img/mark/BattleSquare##r[史诗级BOSS] 暴君城堡 - 麦格纳斯(New~)", 401053002),
        Array("#fMap/MapHelper.img/mark/BattleSquare##r[史诗级BOSS] 黑色天堂 - 斯乌(New~)", 310070490),
        Array("#fMap/MapHelper.img/mark/BattleSquare##r[史诗级BOSS] 堕落世界树 - 戴米安(New~)", 105300303)
        );

function start() {
    a = -1;
    action(1, 0, 0);
}

function action(mode, type, selection) {
    if (mode == -1) {
        cm.dispose();
    } else {
        if (mode == 1)
            a++;
        else
            a--;
        if (a == -1) {
            cm.dispose();
        } else if (a == 0) {
            var text = head + "为了更方便的游戏，在这里可以传送到BOSS的传送点。\r\n#b";
            for (var i = 0; i < BossList.length; i++) {
                text += "#L" + i + "# " + BossList[i][0] + "\r\n";
            }
            cm.sendSimple(text);
        } else if (a == 1) {
            selects = selection;
            cm.sendYesNo(head + "你现在想出发到" + BossList[selects][0] + "吗？");
        } else if (a == 2) {
            cm.saveLocation("MULUNG_TC");
            cm.warp(BossList[selects][1], 0);
            cm.dispose();
        }//a
    }//mode
}//f